package com.ndp.fb.rdb.model;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.ColumnType;
import com.ndp.fb.rdb.annotation.Id;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Sisi on 14-10-19.
 */
@Setter
@Getter
@NoArgsConstructor
public class Adword implements Serializable {

    /**
     * 描述   (@author: yanghao)
     */
    private static final long serialVersionUID = -5292183588289911321L;

    /**
     * id
     */
    @Id
    private Long id;

    private Long productId;
    /**
     * user_id
     */
    private String userId;
    /**
     * description
     */
    private String description;
    /**
     * word
     */
    private String word;

    /**
     * create_time
     */
    @Column(type = ColumnType.Time)
    private Date createTime;
    /**
     * org_id
     */
    private Long orgId;
    /**
     * dict_id
     */
    private Long dictId;
}
